package com.macro.mall.tiny.modules.foster.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuyi
 * @since 2024-04-03
 */
@Getter
@Setter
@ApiModel(value = "Item对象", description = "")
public class Item implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("商品名")
    private String name;

    @ApiModelProperty("价格")
    private Integer price;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty("商品库存")
    private Integer inventory;

    @ApiModelProperty("商品类型(0:食物，1:玩具，2:生活用品)")
    private Integer type;
}
